package org.x4444;

public class CounterClient {
	
	Counter counter;
	
	public CounterClient(Counter counter) {
		this.counter = counter;
	}
	
	public void doIt() {
		counter.add(1);
		counter.add(1);
		counter.add(1);
		int i = counter.add(1);
		System.out.println(i);
	}
}
